package xcmg.device.service.vo.company;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 供应商职工表 VO类
 */
@Data
@ToString
public class EmployeeVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "唯一标识")
    private String id;
    @ApiModelProperty(value = "组织ID")
    private String orgId;
    @ApiModelProperty(value = "姓名")
    private String cname;
    @ApiModelProperty(value = "岗位标识")
    private String jobId;
    @ApiModelProperty(value = "岗位")
    private String job;
    @ApiModelProperty(value = "联系方式")
    private String contactTel;
    @ApiModelProperty(value = "身份证号")
    private String idNumber;
    @ApiModelProperty(value = "性别")
    private Integer gender;
    @ApiModelProperty(value = "入职时间")
    private Date hiredate;
    @ApiModelProperty(value = "是否兼职")
    private Integer partTimeJob;
    @ApiModelProperty(value = "第二岗位ID")
    private String secJobId;
    @ApiModelProperty(value = "第二岗位")
    private String secJob;
    @ApiModelProperty(value = "创建时间")
    private Date createDate;
    @ApiModelProperty(value = "创建人")
    private String createName;
    @ApiModelProperty(value = "修改时间")
    private Date updateDate;
    @ApiModelProperty(value = "修改人")
    private String updateName;
    @ApiModelProperty(value = "是否删除字段")
    private Integer isDel;

    //实体中不存在的字段，靠关联查询
    @ApiModelProperty(value = "供应商名称")
    private String dealerName;

    @ApiModelProperty(value = "最新岗位名称")
    private String latestJobName;

    //额外查询参数
    @ApiModelProperty(value = "主机厂orgid或者代理商orgid")
    private String queryOrgId;

    @ApiModelProperty(value = "主机厂orgid")
    private String factoryOrgId;

    @ApiModelProperty(value = "姓名模糊匹配")
    private String cnameLike;

    @ApiModelProperty(value = "统计岗位人数")
    private Integer amount;
}
